import request from '@/utils/request'


export default {
  getList(currentPage, pagesize) {
    return request({
      url: `/loginLog/list/${currentPage}/${pagesize}`,
      method: 'post',
    })
  },
  getResentLoginLog() {
    return request({
      url: `/loginLog/resent`,
      method: 'get'
    })
  },
  modifyPassword(oldPass,newPass) {
    return request({
      url: `/loginLog/modify`,
      method: 'put',
      params: {
        oldPass,
        newPass
      }
    })
  }
}
